JAMSRESTAPI Web Service
PutCredential_PutGenerateKeys
JAMSRESTAPI Web Service > All Operations Resource Group : Credential_PutGenerateKeys (Put)

Resource Path: /api/credential/keys/generate/{keyType}/{keyLength}

Uri: http://doc.jamsscheduler.com/api/credential/keys/generate/{keyType}/{keyLength}

Description
Generates a new public/private key pair for this Credential.
Parameters
NameDescriptionData Type
The type of key to generate. Supported types are DSA and RSA.string
The length of the key. The length must be supported by the specified key type. DSA supports 512 and 1024 bit keys, RSA supports 512, 1024, 2048 and 4096 bit keys.integer
Request

The request body is of type Credential.

Credential model

Overview

Credential
description : string
fingerprint : string
lastChangeUTC : string
logonUserName : string
password : string
privateKey : string
encryptedPrivateKey : string
encryptedPassword : string
publicKey : string
credentialID : integer
credentialName : string
keyFileContent : string
acl : ACL
genericACL : Array[ACE]
identifier : string
inherited : boolean
flags : string
accessList : Array[string]
Response

The response body is of type Credential.

OK

Overview

Credential
description : string
fingerprint : string
lastChangeUTC : string
logonUserName : string
password : string
privateKey : string
encryptedPrivateKey : string
encryptedPassword : string
publicKey : string
credentialID : integer
credentialName : string
keyFileContent : string
acl : ACL
genericACL : Array[ACE]
identifier : string
inherited : boolean
flags : string
accessList : Array[string]
See Also
All Operations Resource GroupJAMSRESTAPI Web Service